package com.qdxwx.data.service.course;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.course.CourseFile;

import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface CourseFileService {

    CourseFile get(int id);

    List<CourseFile> getList(int courseId);

    List<CourseFile> getList(CourseFile query, PageRequest page);

    int count(CourseFile query);

    int insert(CourseFile courseFile);

    int delete(int id);

    int deleteByCourseId(int courseId);
}
